﻿
@{
    ViewBag.Title = "应用详情";
    Layout = "~/Views/Shared/_ManagerLayoutPage.cshtml";

    var app =  ViewData["App"] as BaseAuthRole.DTO.Auth.ApplicationModel;

}

<div class="row">
    <div class="col-md-12">
        <div class="card">
            <div class="card-body" style="padding: 1.75rem 2.8125rem;">
                <div class="row">
                    <div class="col-md-12">
                        <p style="font-size:15px;font-weight:bold;">应用详情</p>
                        <div class="form-group ">
                            <div class="row">
                                <div class="col-sm-2 control-lable text-right">应用名称：</div>
                                <div class="col-sm-8">
                                    <label>
                                        @app.Name
                                    </label>
                                </div>
                            </div>
                        </div>
                        <div class="form-group ">
                            <div class="row">
                                <div class="col-sm-2 control-lable text-right">简介：</div>
                                <div class="col-sm-8">
                                    <label>
                                        @app.Description
                                    </label>
                                </div>
                            </div>
                        </div>
                        <div class="form-group ">
                            <div class="row">
                                <div class="col-sm-2 control-lable text-right">回调地址：</div>
                                <div class="col-sm-8">
                                    <label>
                                       @app.AuthDomain
                                    </label>
                                </div>
                            </div>
                        </div>
                        <div class="form-group ">
                            <div class="row">
                                <div class="col-sm-2 control-lable text-right">状态：</div>
                                <div class="col-sm-8">
                                    <label>
                                        @(app.Status==1?"正常":"停用")
                                    </label>
                                </div>
                            </div>
                        </div>
                        <div class="form-group ">
                            <div class="row">
                                <div class="col-sm-2 control-lable text-right">秘钥：</div>
                                <div class="col-sm-8">
                                    <label>
                                        @app.Secret
                                    </label>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>

            </div>
        </div>
    </div>
</div>

